package cn.lj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @file:
 * @version:
 * @Description: 代码目的，作用，如何工作
 * @author: 李津
 * @date: 2021-05-05 14:15
 * 本代码要注意的事项、备注事项等
 */

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ComparedVo对象")
public class HistoryVo {

    @ApiModelProperty(value = "余额")
    private String balance;

    @ApiModelProperty(value = "事由发生时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reasonTime;
}
